package vip.websky.project.common.config;

/**
 * 系统常量设置
 *
 * @author: YangYong
 * @createAt: 2017/8/16 17:15
 */
public class SysConst  {
    public final static String SYS_CHARSET = "UTF-8";

    public final static int SUCCESS_FLAG = 1;//
    public final static int FAIL_FLAG = 0;//

    public final static String USER_SESSION_KEY = "login_user_info"; //用户session KEY

    public final static boolean BOOLEAN_FALSE = false;
    public final static boolean BOOLEAN_TRUE = true;

    public final static int STATUS_ONE = 1;// 表 状态
    public final static int STATUS_ZERO = 0;// 表 状态
    public final static int STATUS_MINUS_ONE = -1;// 表 状态
    public final static int STATUS_TWO = 2;// 表 状态

    public final static String COMPANY_NAME = "XINCD";//公司名称

    public final static String COMMA = ",";//逗号

    public final static long ONE_DAY_MISS  = 86400000;// 一天毫秒数
    public final static int AUTO_SENDEE_DAYS  = 3;// 自动签收时间
    public final static int AUTO_FINISH_DAYS  = 2;// 自动完成时间

    public static final java.lang.String MOBILE_PHONE_PATTERN = "^1[3|4|5|7|8][0-9]{9}$";//手机号码验证正则表达式
    public static final java.lang.String EMAIL_PATTERN = "^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$";//邮箱验证正则表达式


}
